package com.zs.toolbox.web2j.common.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author shuai.zhang  on 2018/10/10
 * @description
 */
@Data
@Accessors(chain = true)
public class WtPrimaryKeyReqeust<T extends Serializable> {
    @ApiModelProperty(value = "查询ID",required = true,example = "1")
    @NotNull(message = "查询ID不能为空")
    T id;
}
